Avoid negative runstate pieces.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 10 Dec 2008 14:05:41 +0000 (14:05 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 10 Dec 2008 14:05:41 +0000 (14:05 +0000)
commitaa9c44021251b17ad24add472751e03b5718cbde
tree7bc56f75c711db3a4900c2813481173b16827ffe
parent7132ae7e553f5dead2cb246165490ad4155ee83b
Avoid negative runstate pieces.

Also consolidate all places to get cpu idle time.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/acpi/cpu_idle.c
xen/arch/x86/platform_hypercall.c
xen/common/schedule.c
xen/common/sysctl.c
xen/drivers/cpufreq/cpufreq_ondemand.c
xen/include/xen/sched.h